home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
mwind132.lzh
/
mauswind
/
mauswind.eng
< prev
next >
Wrap
Text File
|
1994-11-01
|
31KB
|
592 lines
Manual For Maus-Window V1.32 (as of 11/01/94)
---------------------------------------------
1. Maus-Window?
---------------
People who have worked with X11 will have noticed that the active
window is always the window located under the mouse-cursor (unless the
window-manager has been configured otherwise). A similar behavior for
ATARI-GEM would be nice, but unfortunately this can only be achieved by
topping the window (or rewriting parts of the operating system). I
found an article addressing this problem in a german magazine, but the
methods described in there to automatically top a window all had
serious disadvantages. So I decided to write a program to top windows
myself, and the result is this accessory called Maus-Window. To install
it, copy it to the root directory of the boot-drive. Maus-Window can
also be used as a program, but this only makes sense in a multitasking-
environment. Maus-Window has no problems running under MultiTOS,
MagiC, and Geneva, as an accessory or an application.
When Maus-Window is active and the mouse-cursor resides over a non-
active window, the window will automatically be topped. This is
achieved by simulating a mouse-click using the AES-call appl_tplay().
This confors to GEM and causes no problems with "clean" applications
(see section 4 for a description of problematic programs).
If the AES version number is >= 3.31, or if WINX >= 2.1 is installed,
Maus-Window uses their extensions to find the owner of the affected
window and then sends a WM_TOPPED-message to this application.
When run under MultiTOS, Maus-Window additionally offers the
possibility to raise the priority of the process with the topmost
window. This allows more comfortable work.
As of version 1.20, Maus-Window is bilingual, and thus has german and
english dialogs. If the language of the computer running Maus-Window is
not German, english dialogs will be used. If german dialogs are
desired, install an _AKP-cookie (see: issue 4/93 German ST-Computer,
Page 89) or (for MultiTOS users) set the AE_LANG environment variable.
Falcon users can set the preferred language by using one of the NVRAM
configuration utilities. This is the best method, since it will cause
many other programs to show german text instead of english text as well.
2. Maus-Window Options
----------------------
When Maus-Window is activated (by selecting the entry in the desk-
menu), it shows a dialog in a window. In the parameter-box some options
may be set (and later saved) which affect the behaviour of Maus-Window.
Any changes made here will immediatly take effect. The "OK"-Buttons is
only used for finally accepting the new settings (similar to XCONTROL-
modules). When Maus-Window is run as a program, you get this dialog by
selecting the entry "Options: edit..." in the menu-bar.
Maus-Window offers the following options:
"Maus-Window active":
Tells Maus-Window whether it should top windows or not.
"work-area only":
If this checkbox is crossed, windows will only be topped if the mouse-
cursor is located in the work-area of a window. With WINX < 2.1, this
option must be selected (since not having done so might cause window
gadgets to be operated instead of topping the window). This option is
also useful for WINX >= 2.1 or MultiTOS, because then it's easier to
operate the gadgets of background windows (otherwise, it may come to
pass that the affected window is topped before).
"prevent 'disappearing'":
Tells Maus-Window whether it should not top a window if it would
completely cover the topmost window (or it's work-area, depeding on the
setting of "work-area only").
"don't top during mouse-movement":
If you do not want Maus-Window to top windows while the mouse is being
moved, you should select this option.
"delay: ..."
This option will cause Maus-Window to wait a certain amount of time
until it tops a window (that means, the mouse-cursor must have been
over the window for that time). The duration of the delay is measured
in ds (10th parts of a second) and can be selected by using the up and
down arrow (either the arrows in the dialog or the cursor-keys). Use
double-clicks to increase/ decrease the value by ten.
"wait for mouse-movement":
If this option is activated, Maus-Window will wait for a mouse-movement
after the last change of the top-window. Example: Two windows are open,
the mouse-cursor is in window #1, which is the topmost window. Now
window #2 is topped through a keyboard action (like cycling windows).
Without this option, Maus-Window will immediatly top window #1 again
(which was obviously not the intention of the user). With this option
active, Maus-Window will wait until the mouse is moved again, so window
#2 will stay "on top". This option is also useful when using the
backdrop-feature of MultiTOS or WINX. It is a good idea to also
activate the option "don't top during mouse-movement".
"protect windowless applications":
When working in a multitasking-environment, changing the active window
may also mean changing the active application and the menu-bar. Since
it is possible that an active application has no window open (then
there is no active window), changing to another application by topping
one if its windows causes the program without windows to be "lost".
That means, it can't be reactivated by clicking on a window. If you
don't want this, use this option. It causes Maus-Window to check if the
active application has one or more windows open before topping one of
another program. If the AES support it, Maus-Window will also check if
the window which is going to be topped belongs to an accessory. In that
case, that window will be activated even when the active application
has no own windows, since accessories don't have menu-bars and thus
activating a window of an accessory doesn't affect the active menu. It
is not possible to check whether an application has an own menu-bar or
not, so this extra-feature only affects accessories. "Protect
windowless applications" is only available if the AES allow more than
one application (multitasking) and support the extended menu_bar-call.
The extra-feature (option doesn't affect windows of accessories) will
be used if the AES have the appl_search-function. Both calls are
supported by MultiTOS, MagiC and Geneva.
"higher priority for top-window":
This option can only be used when running MultiTOS (Maus-Window also
must have effective user ID 0, but this is only important for experts).
If it is active, Maus-Window will automatically raise the priority of
the process with the topmost window. The priority is reset to the old
value if another process gets the top-window.
"use mouse-click only":
As described in section 4, with KAOS and/or NVDI 1.x it may come to
pass that the mouse-cursor jumps to the left border of the screen when
Maus-Window tops a window. This options removes the problem by only
simulating a mouse-click. Normally, the mouse-cursor is first
postiioned in such a way that the simulated click really hits the
correct window. It is a good idea to also select the option "don't top
during mouse-movement", because otherwise it may come to pass that
during fast mouse-movement the simulated click hits the wrong window.
"Use mouse-click only" cannot be selected when working with WINX >= 2.1
or AES >= 3.31, because in that case Maus-Window does not use a mouse-
click to top a window.
Additionally, it is possible to decide which "special-keys" (shift
left/right, control, and alternate) prevent Maus-Wi